package com.ruoyi.wcf.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手机-品牌-系列-型号对象 wcf_mobile
 * 
 * @author WZP
 * @date 2022-04-02
 */
public class WcfMobile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long mobileId;

    /** 上级id */
    @Excel(name = "上级id")
    private Long parentId;

    /** 名称 */
    @Excel(name = "名称")
    private String mobileName;

    /** 等级（0-手机品牌，1-品牌系列，2-手机型号） */
    @Excel(name = "等级", readConverterExp = "0=-手机品牌，1-品牌系列，2-手机型号")
    private Integer mobileLevel;

    /** 状态（0-显示，1-隐藏） */
    @Excel(name = "状态", readConverterExp = "0=-显示，1-隐藏")
    private Integer status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 删除标记（0-正常，1-删除） */
    @Excel(name = "删除标记", readConverterExp = "0=-正常，1-删除")
    private Integer delFlag;

    public void setMobileId(Long mobileId) 
    {
        this.mobileId = mobileId;
    }

    public Long getMobileId() 
    {
        return mobileId;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setMobileName(String mobileName) 
    {
        this.mobileName = mobileName;
    }

    public String getMobileName() 
    {
        return mobileName;
    }
    public void setMobileLevel(Integer mobileLevel) 
    {
        this.mobileLevel = mobileLevel;
    }

    public Integer getMobileLevel() 
    {
        return mobileLevel;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mobileId", getMobileId())
            .append("parentId", getParentId())
            .append("mobileName", getMobileName())
            .append("mobileLevel", getMobileLevel())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
